Eclipse Platform
Pre-release 3.0

org.eclipse.ui.contexts
Class ContextManagerEvent

java.lang.Object
  extended byorg.eclipse.ui.contexts.ContextManagerEvent

public final class ContextManagerEvent
extends Object

An instance of this class describes changes to an instance of IContextManager.

This class is not intended to be extended by clients.

EXPERIMENTAL

Since:
3.0
See Also:
IContextManagerListener.contextManagerChanged(org.eclipse.ui.contexts.ContextManagerEvent)

Constructor Summary
ContextManagerEvent(IContextManager contextManager, boolean definedContextIdsChanged, boolean enabledContextIdsChanged)
          Creates a new instance of this class.
 
Method Summary
 IContextManager getContextManager()
          Returns the instance of the interface that changed.
 boolean haveDefinedContextIdsChanged()
          Returns whether or not the definedContextIds property changed.
 boolean haveEnabledContextIdsChanged()
          Returns whether or not the enabledContextIdsChanged property changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextManagerEvent

public ContextManagerEvent(IContextManager contextManager,
                           boolean definedContextIdsChanged,
                           boolean enabledContextIdsChanged)
Creates a new instance of this class.

Parameters:
contextManager - the instance of the interface that changed.
definedContextIdsChanged - true, iff the definedContextIds property changed.
enabledContextIdsChanged - true, iff the enabledContextIdsChanged property changed.
Method Detail

getContextManager

public IContextManager getContextManager()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

haveDefinedContextIdsChanged

public boolean haveDefinedContextIdsChanged()
Returns whether or not the definedContextIds property changed.

Returns:
true, iff the definedContextIds property changed.

haveEnabledContextIdsChanged

public boolean haveEnabledContextIdsChanged()
Returns whether or not the enabledContextIdsChanged property changed.

Returns:
true, iff the enabledContextIdsChanged property changed.

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.